<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>

<%-- Directives de page import --%>
<%@ page import="fr.iut2.sil4.data.Groupe"%>
<%@ page import="fr.iut2.sil4.data.GroupePeer"%>
<%@ page import="org.apache.torque.criteria.Criteria"%>

<jsp:include page="JSP/header.jsp"></jsp:include>

	<div class="container">
		<h1>Student Manager</h1>
		
		<a href="do/absences">Absences</a>
		<a href="do/notes">Notes</a>
		
		<br /><br />
		
		<%
			for (Groupe group : GroupePeer.doSelectAll()) {
				
				out.write("<p><a href='do/studentList?groupeId=" + group.getGroupeId() + "'>" + group.getName() + "</a></p>");
			}
		%>
		
	</div>
<jsp:include page="JSP/footer.jsp"></jsp:include>